<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8" />
    <title>登录</title>
</head>
<body>
<h3 th:text="${name}">hello world</h3>

<form th:action="@{/login}" th:object="${loginVo}" th:method="post">
    账  号：<input type="text" th:field="*{username}" /> <br />
    密  码：<input type="password" th:field="*{password}" /> <br />
    <input type="submit"/>
</form>
</body>
</html>